package ru.nsu.fit.ws.authentication;

/**
 * @author Sergey Kozlov
 * 		   Timur Zolotuhin (tzolotuhin@gmail.com)
 */
public class AuthenticationOutput {
    private long userSessionId = -1;
    private boolean successful;
    private String errorMessage;
	
    public long getUserSessionId() {
		return userSessionId;
	}
    
	public void setUserSessionId(long userSessionId) {
		this.userSessionId = userSessionId;
	}
	
	public boolean isSuccessful() {
		return successful;
	}
	
	public void setSuccessful(boolean successful) {
		this.successful = successful;
	}
	
	public String getErrorMessage() {
		return errorMessage;
	}
	
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}
